/*
 * DocumentSourceVertex.java
 *
 * Created on September 27, 2006, 3:27 PM
 *
 * (C) 2006 R. Alexander Milowski
 */

package com.smallx.xproc.compiler;

import com.smallx.xproc.compiler.graph.Vertex;
import org.infoset.xml.Document;

/**
 *
 * @author alex
 */
public class DocumentSourceVertex extends Vertex {
   
   Document doc;
   public DocumentSourceVertex(String id,Document doc) {
      super(id);
      this.doc = doc;
   }
   public DocumentSourceVertex(String id,String label,Document doc) {
      super(id,label);
      this.doc = doc;
   }
   
   public Document getDocument() {
      return doc;
   }
   
}
